Skip to content

Conversation

lboue
Copy link
Contributor

@lboue lboue commented Jul 18, 2025

For Eve MotionBlinds, ObstructionDetected attribute within the Eve Cluster

Boolean obstructionDetected 319422480 / AttributeId: 319422480 (0x00130a0010)

@lboue lboue marked this pull request as ready for review July 18, 2025 20:15
@agners agners added the new-feature New feature or request label Jul 21, 2025
@jvmahon
Copy link

jvmahon commented Jul 31, 2025

Have you considered using the ObstacleDetected bit (bit 5) within the Safety Status attribute 0x001A of the Window Covering cluster? That might let you get the information you need in a "standardized" way without having to add anything to Python Matter Server.

From Section 5.3.5.4 of the Matter Application Cluster Version 1.4.1 spec:
image

@lboue
Copy link
Contributor Author

lboue commented Aug 1, 2025

Have you considered using the ObstacleDetected bit (bit 5) within the Safety Status attribute 0x001A of the Window Covering cluster? That might let you get the information you need in a "standardized" way without having to add anything to Python Matter Server.

From Section 5.3.5.4 of the Matter Application Cluster Version 1.4.1 spec:

Yes, I noticed that. We can add the management of one or two alerts associated with the SafetyStatusBitmap bitmap.
But in principle, you should handle them all. It is mandatory in the specifications.
The only solution I have is to add one MatterDiscoverySchema per bit, i.e. 12 schemas. I don't think this is a very clean implementation. I haven't figured out how to manage this correctly in the Home Assistant integration.

@jvmahon
Copy link

jvmahon commented Aug 1, 2025

The only solution I have is to add one MatterDiscoverySchema per bit, i.e. 12 schemas. I don't think this is a very clean implementation. I haven't figured out how to manage this correctly in the Home Assistant integration.

An option is to add the SafetyStatusBitmap as a new attribute of the window cover using the extra_state_attributes method. Probably not an ideal solution, but it gets you all the bits without having to add a dozen UI elements. I was going to use the estra_state_attributes with the Window Covering to add the targetPosition attribute; if you think adding the SafetyStatusBitmap as an attribute would be useful, reach me on Discord at "jvm" and I can do it at the same time.

@lboue
Copy link
Contributor Author

lboue commented Aug 13, 2025

Have you considered using the ObstacleDetected bit (bit 5) within the Safety Status attribute 0x001A of the Window Covering cluster? That might let you get the information you need in a "standardized" way without having to add anything to Python Matter Server.

I don't think that prevents us from adding the attribute. At least it allows you to see what the attribute corresponds to in the interface.

@agners agners merged commit 606cfee into matter-js:main Aug 14, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants